.modal_form {
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    display: grid;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background-color: rgba(54, 54, 54, 0.3);
    overflow-y: auto;
}
.modal_form .modal__box {
    max-width: 300px;
    padding: 32px;
    border-radius: 5px;
    background-color: rgb(241, 232, 213);
    margin: 24px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.modal_form .modal__box p {
    margin: 0;
}

.modal_form .modal__box h3 {
    margin: 0;
}

.modal_form .modal__box form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.modal_form .modal__box form p {
    margin: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.modal_form .modal__box form p input {
    border-radius: 5px;
    padding: 12px 24px 12px 24px;
    max-width: 250px;
}

.modal_form .modal__box form p input[type=submit] {
    -ms-flex-item-align: end;
    align-self: flex-end;
    padding: 8px 42px 8px 42px;
    background-color: rgb(216, 28, 84);
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    color: rgb(243, 239, 230);
    border: 0;
    border-radius: 5px;
}

.modal_form .modal__box form p input:focus {
    -webkit-box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    cursor: pointer;
    color: rgb(241, 232, 213);
}

.modal_form .modal__box form p input:hover {
    -webkit-box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    cursor: pointer;
    color: rgb(241, 232, 213);
}

.modal_cookie {
    left: 64px;
    bottom: 12px;
    margin-right: 64px;
    max-width: 400px;
}

.modal_cookie .modal__box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 12px;
    padding: 24px 24px 12px 24px;
    border-radius: 5px;
    background-color: rgb(241, 232, 213);
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.modal_cookie .modal__box p {
    margin: 0;
    font-size: 12px;
}

.modal_cookie .modal__box .button__cookei {
    -ms-flex-item-align: end;
    align-self: flex-end;
    padding: 8px 42px 8px 42px;
    background-color: rgb(216, 28, 84);
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    -webkit-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    color: rgb(243, 239, 230);
    border: 0;
    border-radius: 5px;
    font-size: 12px;
}

.modal_cookie .modal__box .button__cookei:hover {
    -webkit-box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    cursor: pointer;
    color: rgb(241, 232, 213);
}

.modal {
    position: fixed;
    z-index: 99998;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: 0.4s, visibility 0.4s;
    transition: 0.4s, visibility 0.4s;
}

.modal .modal__box {
    -webkit-box-shadow: 0 1px 3px rgba(54, 54, 54, 0.12), 0 1px 2px rgba(54, 54, 54, 0.24);
    box-shadow: 0 1px 3px rgba(54, 54, 54, 0.12), 0 1px 2px rgba(54, 54, 54, 0.24);
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-transition: -webkit-transform 0.8s;
    transition: -webkit-transform 0.8s;
    transition: transform 0.8s;
    transition: transform 0.8s, -webkit-transform 0.8s;
    position: relative;
}

.modal.open {
    visibility: visible;
    opacity: 1;
}

.modal.open .modal__box {
    -webkit-transform: scale(1);
    transform: scale(1);
}

.modal__close {
    position: absolute;
    top: -18px;
    right: -18px;
    border: 0;
    background-color: transparent;
    padding: 5px;
}

.modal__close svg {
    fill: rgb(241, 232, 213);
    width: 28px;
    height: 28px;
}

.modal__close svg path {
    -webkit-transition: stroke 0.4s;
    transition: stroke 0.4s;
    opacity: 1;
}

.modal__close:hover {
    cursor: pointer;
}

.modal__close:hover svg path {
    stroke: rgb(216, 28, 84);
}

@media (max-width: 999px) {
    .modal_form .modal__box {
        padding: 16px;
        margin: 16px;
    }

    .modal_cookie {
        left: 16px;
        bottom: 8px;
        margin-right: 16px;
    }

    .modal_cookie .modal__box {
        padding: 16px;
    }

    .modal_cookie .modal__box p {
        font-size: 9px;
    }

    .modal_cookie .modal__box .button__cookei {
        font-size: 9px;
        padding: 8px 24px 8px 24px;
    }
}
button.open_form {
    background-color: rgb(216, 28, 84);
    border-radius: 5px;
    padding: 12px 28px;
    border: 0;
        color: rgb(241, 232, 213);
        -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
        -webkit-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    }
    
button.open_form:hover {
    -webkit-box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    cursor: pointer;
    color: rgb(241, 232, 213);
}